package xyz.wangdanhua.service;

import org.springframework.beans.factory.config.ConfigurableBeanFactory;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

@Service
//@Scope(value = WebApplicationContext.SCOPE_REQUEST, proxyMode = ScopedProxyMode.TARGET_CLASS)
@Scope(ConfigurableBeanFactory.SCOPE_PROTOTYPE)
public class RequestService {

  private String name = "hellop";

  public RequestService() {
    System.out.println("gogogogooggoogogogogogo");
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }
  
}
